<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
 
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" />
<meta charset="utf-8" />
<meta name="description" content="Mailbox with some customizations as described in docs" />
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0" />
<%@ include file="/include/main_include.jsp"%>
<%@ include file="/include/form_include.jsp"%>
<script type="text/javascript" src="${path}/static/myjs/plugins/grsunChooseWindow.js"></script>
</head>
<body>
	<ul id="chooseMenuTree"></ul>  
</body>
<script type="text/javascript">
var chooseMenuTree = $('#chooseMenuTree').tree({    
    url:'${path}/sysMenu/choosetree.do',
    queryParams:{roleId:"${pd.roleId}",TYPE:"${pd.TYPE}"},
    animate:true,
    checkbox:true,
    cascadeCheck:true,
    onBeforeLoad:function(node, param){
    	$.uitools.showLoading();// 打开处理中遮罩层
    },
    onLoadSuccess:function(node, data){
    	$.uitools.hideLoading();// 关闭处理中遮罩层
    },
    onLoadError:function(arguments){
    	$.uitools.hideLoading();// 关闭处理中遮罩层
    }
});  
</script>
</html>
